package com.alibaba.otter.manager.web;

import com.alibaba.otter.shared.communication.core.impl.dubbo.DubboEnv;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication(scanBasePackages = "com.alibaba.otter.manager")
@MapperScan({"com.alibaba.otter.manager.biz.*.*.dal","com.alibaba.otter.manager.biz.*.dal"})
@EnableConfigurationProperties
public class OtterConsoleApplication {

    public static void main(String[] args) {
        DubboEnv.config();
        SpringApplication.run(OtterConsoleApplication.class,args);
    }
}
